import Vue from 'vue'
import Vuex from 'vuex'
import news from './modules/news';
import user from './modules/user';
import getters from "@/store/getters";
import tagsView from './modules/tagsView';
import permission from "./modules/permission";

Vue.use(Vuex)

const store = new Vuex.Store({
        getters,
        modules: {
            news,
            user,
            tagsView,
            permission,
        }
    }
)

export default store
